package com.framework.model.module.job.vo;

import com.framework.common.annotation.DataTypeTarget;
import com.framework.common.annotation.QueryParam;
import com.framework.common.model.dataType.DataTypeConstant;
import com.framework.model.module.job.ScheduledTasksLog;
import java.io.Serializable;

/**
 * @author 龘鵺
 * @version 1.0
 * @className com.framework.model.module.job.vo
 * @description 定时任务日志视图类
 * @datetime 2025-04-24 15:20:21
 */
public class ScheduledTasksLogVo extends ScheduledTasksLog implements Serializable {
    /**
     * 执行状态
     */
    @DataTypeTarget(type = DataTypeConstant.DATA_TYPE_INT_TO_LEBEL, fields = "executeStatus", code = "defaultStatus")
    @QueryParam(name = "executeStatus", code = "p.EXECUTE_STATUS")
    private String executeStatusName;

    public String getExecuteStatusName() {
        return executeStatusName;
    }

    public void setExecuteStatusName(String executeStatusName) {
        this.executeStatusName = executeStatusName == null ? null : executeStatusName.trim();
    }
}
